<?php $this->renderPartial('_tabs'); ?>

<div class="grid_16">
	<div class="admin-agency form">
		<?php
		$form = $this->beginWidget('CActiveForm', array(
			'id' => 'admin-projects-form',
			'enableAjaxValidation' => false,
			'htmlOptions' => array()
		));
		?>
		<div class="section">
			<div class="block">
				<div class="clearfix">
					<h4>'Units' Gridview Default Columns</h4>
					<p class="hint">* Drag to reorder, check/uncheck to show or hide columns</p>
					<?php
					$this->widget('common.widgets.grid.ecolumns.EColumns', array(
						'gridId' => 'project-listing-grid', //id of related grid
						'storage' => 'db', //where to sto
						'fixedLeft' => array('CCheckBoxColumn'), //fix checkbox to the left side 
						'model' => new MlsSearchForm(),
						'columns' => MlsSearchForm::columns(),
						'agencySpecific' => true,
					));
					?>
				</div>
			</div>
		</div>
		<?php $this->endWidget(); ?>
	</div>
</div>